package com.czwj.dao;

import java.util.List;
import java.util.Map;

import com.czwj.entities.Equipment;

public interface EquipmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Equipment record);

    int insertSelective(Equipment record);

    Equipment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Equipment record);

    int updateByPrimaryKey(Equipment record);

	/**
	* @Title: search
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<Equipment> 返回类型
	* @throws
	*/
	List<Equipment> search(Map<String,Object> map);

	/**
	* @Title: count
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int count(Map<String,Object> map);

	Equipment findByCode(String code);

	List<Equipment> searchWithPressure(Map<String, Object> map);

	Equipment selectWithPressureByPrimaryKey(Integer id);

}